﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocumentsManage.aspx.cs"
    Inherits="BOH.Information.DocumentsManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">信息采集系统</a> >> 相关文档管理
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
            <a href="ModifyDocuments.aspx" target="frameControl">添加文档信息</a>
        </div>
        <div id="divGrid">
            <asp:GridView ID="ApplyInfoList" runat="server" AutoGenerateColumns="False" Width="98%"
                CssClass="Grid" AllowPaging="True" PageSize="15">
                <Columns>
                    <asp:TemplateField HeaderText="公示名称" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                        <ItemTemplate>
                            <a href="<%#Eval("Notify_Context") %>" ><%#Eval("Notify_Title") %></a> 
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="审核状态" HeaderStyle-Width="120px" ItemStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Label ID="labInfoTilte" Text='<%#getVerify(Eval("Notify_Verify").ToString()) %>'
                                runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="激活状态" HeaderStyle-Width="120px" ItemStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Label ID="labInfoTilte" Text='<%#getStatus(Eval("Notify_status").ToString()) %>'
                                runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="发布时间" HeaderStyle-Width="200px" ItemStyle-Width="200px">
                        <ItemTemplate>
                            <asp:Label ID="labInfoTilte" Text='<%#CastToDate(Eval("Notify_IssueTime").ToString()) %>'
                                runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="操作" HeaderStyle-Width="100px" ItemStyle-Width="100px">
                        <ItemTemplate>
                            <a href="ModifyDocuments.aspx?ID=<%#Eval("Notify_ID") %>">修改</a>&nbsp;&nbsp; <a href="DocumentsManage.aspx?ID=<%#Eval("Notify_ID") %>"
                                onclick='return ConfimDelete()'>删除</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="ARow" />
                <HeaderStyle HorizontalAlign="Center" />
                <RowStyle HorizontalAlign="Center" />
            </asp:GridView>
            <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
